.outer {
  width: 400px;
  height: 400px;
  background-color: purple;
  margin: 0 auto;
  display: flex;
  .inner {
    width: 200px;
    height: 200px;
    background-color: pink;
    margin: auto;
  }
}